package com.zy.cat.entity.mall.resp;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("9趣猫用户现金红包实体类")
public class CatCashBonusHistoryResp {
	
	@ApiModelProperty(value = "可提现金额（分），[仅第一页显示]", example = "300")
	private long kcode;
	
	@ApiModelProperty(value = "累计到账金额（分），[仅第一页显示]", example = "300")
	private long lcode;
	
	@ApiModelProperty(value = "入帐中金额（分），[仅第一页显示]", example = "300")
	private long rcode;
	
	@ApiModelProperty(value = "收入列表", example = "[]")
	List<CashBonus> inList;
	
	@ApiModelProperty(value = "支出列表", example = "[]")
	List<CashBonus> outList;
 
	
	@Data
	@AllArgsConstructor
	@NoArgsConstructor
	@ApiModel("9趣猫用户收入、支出实体类")
	public static class CashBonus{
		
		@ApiModelProperty(value = "红包名称", example = "0元购")
		private String cname;
		
		@ApiModelProperty(value = "红包金额（分）", example = "300")
		private long fcode;
		
		@ApiModelProperty(value = "创建时间", example = "2019-02-22 12:56:56:666")
		private String ctime;
	}
}
